/**
 * 将blob格式数据转为文件。
 * @param theBlob
 * @param fileName
 * @return {*}
 */
export function blobToFile(theBlob, fileName) {
  //A Blob() is almost a File() - it's just missing the two properties below which we will add
  theBlob.lastModifiedDate = new Date();
  theBlob.name = fileName;
  return theBlob;
}
